/*
 * Copyright (C) 2023 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.templateproject.bean;

//import anet.channel.strategy.dispatch.DispatchConstants;
//import com.jcds.common.utils.Constants;
import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class MatchV2Entity {
    @NotNull
    private final List<MatchAction> matchActions;
    @NotNull
    private final String transactionId;

    public MatchV2Entity(@NotNull String transactionId, @NotNull List<MatchAction> matchActions) {
        Intrinsics.checkNotNullParameter(transactionId, "transactionId");
        Intrinsics.checkNotNullParameter(matchActions, "matchActions");
        this.transactionId = transactionId;
        this.matchActions = matchActions;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ MatchV2Entity copy$default(MatchV2Entity matchV2Entity, String str, List list, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            str = matchV2Entity.transactionId;
        }
        if ((i2 & 2) != 0) {
            list = matchV2Entity.matchActions;
        }
        return matchV2Entity.copy(str, list);
    }

    @NotNull
    public final String component1() {
        return this.transactionId;
    }

    @NotNull
    public final List<MatchAction> component2() {
        return this.matchActions;
    }

    @NotNull
    public final MatchV2Entity copy(@NotNull String transactionId, @NotNull List<MatchAction> matchActions) {
        Intrinsics.checkNotNullParameter(transactionId, "transactionId");
        Intrinsics.checkNotNullParameter(matchActions, "matchActions");
        return new MatchV2Entity(transactionId, matchActions);
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof MatchV2Entity)) {
            return false;
        }
        MatchV2Entity matchV2Entity = (MatchV2Entity) obj;
        return Intrinsics.areEqual(this.transactionId, matchV2Entity.transactionId) && Intrinsics.areEqual(this.matchActions, matchV2Entity.matchActions);
    }

    @NotNull
    public final List<MatchAction> getMatchActions() {
        return this.matchActions;
    }

    @NotNull
    public final String getTransactionId() {
        return this.transactionId;
    }

    public int hashCode() {
        return (this.transactionId.hashCode() * 31) + this.matchActions.hashCode();
    }

    @NotNull
    public String toString() {
        return "MatchV2Entity(transactionId=" + this.transactionId + ", matchActions=" + this.matchActions + ')';
    }
}